import request from "@/utils/request"

export function favorite(data){
    return request({
        url:"/product/favorite",
        method:"post",
        data
    })
}

export function getfavorite(){
    return request({
        url:"/user/favorite",
    })
}